
package com.lbssoft.datalink.model;

import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;


/*
 * @ClassName:  Event   
 * @Description: 事件数据，包括上线，离线，进出围栏，报警，超速等事件触发通知
 * status -1|0离线，1上线，2进入围栏，3离开围栏，4超速 5熄火 6 点火 7静止 8移动 9报警
 * @author: Riven
 * @date:   2017年7月10日 上午9:49:04   
 *     
 * @Copyright: 2017 www.lbssoft.com Inc. All rights reserved. 
 */
/**
 * <b>设备事件 </b>
 * <p>包括上线，离线，进出围栏，报警，超速等事件触发通知</p>
 * <p>status -1|0离线，1上线，2进入围栏，3离开围栏，4超速 5熄火 6 点火 7静止 8移动 9报警</p>
 * @version 1.1.4
 * @author riven
 */
public class Event extends BaseMsg{
	public Event(){
		 super();
	     setType(MsgType.EVENT);
	}
	
	private  long deviceId;

	private String deviceUUID;
	
	//事件时间
	private Date time;
	//事件类型
	
	private int status;
	
	//围栏id
	private long geofenceId;

	private String geofenceUUID;

	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}

	public long getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(long deviceId) {
		this.deviceId = deviceId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public long getGeofenceId() {
		return geofenceId;
	}
	public void setGeofenceId(long geofenceId) {
		this.geofenceId = geofenceId;
	}

	public String getDeviceUUID() {
		return deviceUUID;
	}

	public void setDeviceUUID(String deviceUUID) {
		this.deviceUUID = deviceUUID;
	}

	public String getGeofenceUUID() {
		return geofenceUUID;
	}

	public void setGeofenceUUID(String geofenceUUID) {
		this.geofenceUUID = geofenceUUID;
	}
}